DX11 CREATE LABEL

Creates a label with its left top corner at the set coordinates, displaying the specified text in the given font.
Labels are the main way of getting text on the screen in the DX11 engine.

  Syntax
Return Dword = DX11 CREATE LABEL([font], text, x, y)
  Parameters
[Optional] font
Dword
The font to use for the label. A default 12px non-monospace font (the same as returned by dx11 get default font()) will be used if you don't specify a font here.
text
String
The initial text to set for the label (it can be changed later on).
x
Integer
The X coordinate of the leftmost edge of the label.
y
Integer
The Y coordinate of the topmost edge of the label.

  Returns

The created label.

  See also

LABEL Functions Menu
DX11 Function Categories